package cn.edu.sgu.www.mhxysy.mapper.achievement;

import cn.edu.sgu.www.mhxysy.entity.achievement.Chengwei;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 沐雨橙风ιε
 * @version 1.0
 */
@Repository
public interface ChengweiMapper extends BaseMapper<Chengwei> {

    /**
     * 通过角色ID查询称谓列表
     * @param roleId 角色ID
     * @return List<Chengwei>
     */
    List<Chengwei> selectByRoleId(@Param("roleId") String roleId);
}